package com.example.firstjavamqtt.model.dto.log;

import com.example.firstjavamqtt.model.base.BaseDeviceLogDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.stereotype.Component;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "温湿度日志传输对象")
@Component
@ToString
public class TemperatureHumidityLogDto extends BaseDeviceLogDto {


    @ApiModelProperty(value = "最低温",example = "1")
    private double lowestTemp;
    @ApiModelProperty(value = "最高温",example = "100")
    private double highestTemp;
    @ApiModelProperty(value = "最低湿度",example = "1")
    private double lowestHumidity;
    @ApiModelProperty(value = "最高湿度",example = "100")
    private double highestHumidity;
}
